package grade;


public class Grade {
      //public static int main(String[] args) {
    	  //return 0;
      //}
      
      public int grade(int data) {
    	 // Scanner sc = new Scanner(System.in);
    	 //int data;
    	 // data = sc.nextInt();
    	  if(data > 2000) {
    		  return 1;
    	  }
    	  else if(data >=1300){
    		  return 2;
    	  }
    	  else if(data >=800) {
    		  return 3;
    	  }
    	  else if(data >=500) {
    		  return 4;
    	  }
    	  else if(data >=200) {
    		  return 5;
    	  }
    	  else if(data >=50) {
    		  return 6;
    	  }
    	  else {
    		  return 7;
    	  }
      }
}
